package com.young.ums.model;

import com.young.common.core.excel.ExcelColumn;
import java.util.Date;
/**
* 角色实体类
* Created by imrookie on 2018-9-30.
*/
public class Role extends AuthorityParameter {

    @ExcelColumn(value = "编号", order = 1)
    private String id;//编号
    @ExcelColumn(value = "角色名称", order = 2)
    private String name;//角色名称
    @ExcelColumn(value = "管理范围", order = 3)
    private String rangeId;//管理范围
    private String rangeName;//管理范围名称
    @ExcelColumn(value = "角色类型", order = 4)
    private String type;//角色类型
    @ExcelColumn(value = "所属单位", order = 5)
    private String companyId;//所属单位
    private String companyName;//所属单位名称
    @ExcelColumn(value = "角色分类", order = 6)
    private String category;//角色分类
    @ExcelColumn(value = "是否向下公开", order = 7)
    private Integer open;//是否向下公开
    @ExcelColumn(value = "描述", order = 8)
    private String remark;//描述
    @ExcelColumn(value = "显示顺序", order = 9)
    private Integer num;//显示顺序
    @ExcelColumn(value = "创建时间", order = 10)
    private Date createTime;//创建时间
    @ExcelColumn(value = "更新时间", order = 11)
    private Date updateTime;//更新时间
    @ExcelColumn(value = "创建人", order = 12)
    private String createUserId;//创建人
    @ExcelColumn(value = "更新人", order = 13)
    private String updateUserId;//更新人
    @ExcelColumn(value = "删除标识", order = 14)
    private Integer trashFlag;//删除标识

    private String orderBy;//排序字段
    private String orderType;//排序类型,升序asc/降序desc

    private String nodeType = "ROLE";//节点类型,供前端树插件使用

    public Role(){
        super();
    }

    public String getId() {
    return id;
    }
    public void setId(String id) {
    this.id = id;
    }
    public String getName() {
    return name;
    }
    public void setName(String name) {
    this.name = name;
    }
    public String getRangeId() {
    return rangeId;
    }
    public void setRangeId(String rangeId) {
    this.rangeId = rangeId;
    }
    public String getType() {
    return type;
    }
    public void setType(String type) {
    this.type = type;
    }
    public String getCompanyId() {
    return companyId;
    }
    public void setCompanyId(String companyId) {
    this.companyId = companyId;
    }
    public String getCategory() {
    return category;
    }
    public void setCategory(String category) {
    this.category = category;
    }
    public Integer getOpen() {
    return open;
    }
    public void setOpen(Integer open) {
    this.open = open;
    }
    public String getRemark() {
    return remark;
    }
    public void setRemark(String remark) {
    this.remark = remark;
    }
    public Integer getNum() {
    return num;
    }
    public void setNum(Integer num) {
    this.num = num;
    }
    public Date getCreateTime() {
    return createTime;
    }
    public void setCreateTime(Date createTime) {
    this.createTime = createTime;
    }
    public Date getUpdateTime() {
    return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
    }
    public String getCreateUserId() {
    return createUserId;
    }
    public void setCreateUserId(String createUserId) {
    this.createUserId = createUserId;
    }
    public String getUpdateUserId() {
    return updateUserId;
    }
    public void setUpdateUserId(String updateUserId) {
    this.updateUserId = updateUserId;
    }
    public Integer getTrashFlag() {
    return trashFlag;
    }
    public void setTrashFlag(Integer trashFlag) {
    this.trashFlag = trashFlag;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getNodeType() {
        return nodeType;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType;
    }

    public String getRangeName() {
        return rangeName;
    }

    public void setRangeName(String rangeName) {
        this.rangeName = rangeName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }
}